home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming,comp.lang.c
- Path: netcom.com!mikenel
- From: mikenel@netcom.com (Michael Nelson)
- Subject: Indexing for database...
- Message-ID: <mikenelDot574.8n9@netcom.com>
- Organization: Say what?! Organization???
- X-Newsreader: TIN [version 1.2 PL2]
- Date: Mon, 25 Mar 1996 05:13:52 GMT
- Sender: mikenel@netcom13.netcom.com
-
- I am in the process of trying to figure out the best way to do indexing for
- an on-disk database. Most databases and modern file systems seem to use
- b-trees to do fast lookups of records or directory entries. However, the
- biggest problem I forsee is the fact that it is difficult to keep the tree
- balanced. Strange enough, none of the source code I've perused so far seems to
- bother with keeping the trees balanced.
-
- Anyone with more experience (or examples) have any ideas? :-)
-
- -- Mike
- --
- --
- movl %cr0, %eax; orl $0x1, %eax; movl %eax, %cr0
- =============================================================================
- Michael Nelson mikenel@netcom.com
- Seattle, Washington Windows NT, OLE, BSD UNIX, Linux Development
-